package com.dzm.controller;

import com.dzm.service.DeptService;
import com.dzm.utils.R;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.cloud.context.config.annotation.RefreshScope;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * 作者：Dzm
 * 时间：2024-08-21-15:38
 * 功能：
 */

@RestController
@RequestMapping("/dept")
@RefreshScope
public class DeptController {
    @Autowired
    private DeptService deptService;

    @GetMapping("/get")
    public R get() {
        return R.ok();
    }
}
